package com.per.mybootall.designMode.wrapper;

import org.springframework.stereotype.Component;

/**
 * wrapper装饰器模式测试
 * */
@Component
public class Person {
    public void see(){
        System.out.println("person  see  =============>>>>>>>>>>>>>>>>>>>>");
    }
    public void speak(){
        System.out.println("person   speak   =================>>>>>>>>>>>>");
    }
    public void eat(){
        System.out.println("person    eat   ===================>>>>>>>>>>>>>");
    }
}
